package com.ruoyi.project.play.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 order
 * 
 * @author wyh
 * @date 2024-07-13
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private String outTradeNo;

    /** 预付单号 */
    @Excel(name = "预付单号")
    private String transactionId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal totalAmount;

    /** 联系人名称 */
    @Excel(name = "联系人名称")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDeleted;

    /** 用户备注 */
    @Excel(name = "用户备注")
    private String userRemark;

    public void setOutTradeNo(String outTradeNo) 
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo() 
    {
        return outTradeNo;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setIsDeleted(String isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted() 
    {
        return isDeleted;
    }
    public void setUserRemark(String userRemark) 
    {
        this.userRemark = userRemark;
    }

    public String getUserRemark() 
    {
        return userRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outTradeNo", getOutTradeNo())
            .append("transactionId", getTransactionId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("totalAmount", getTotalAmount())
            .append("contactName", getContactName())
            .append("contactNumber", getContactNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .append("userRemark", getUserRemark())
            .toString();
    }
}
